package com.han.bom;
import java.util.ArrayList;

/**
 * An extension of the Report object.
 * This report gives the detail on the performance of the students on the specific exam
 * 
 * @author Adjell Ian Pabayos
 * 
 * @version 1.0
 * @since JDK 1.7
 * 
 * @see Question
 *
 */

public class ExamReport extends Report {

	private ArrayList<Exam> exams;
	
	/**
	 * Sole constructor.
	 * This sets the professor that will be creating the report.
	 * Sets the exam(s) that will have its details included in the report
	 * 
	 * @param professor
	 * @param exams
	 */
	public ExamReport(Professor professor, ArrayList<Exam> exams) {
		super(professor);
		this.setExams(exams);
	}

	/**
	 * Sets the exams that will be included in the report
	 * 
	 * @param exams
	 */
	public void setExams(ArrayList<Exam> exams) {
		this.exams = exams;
	}

	/**
	 * Gets the exams that are included in the report
	 * 
	 * @return
	 */
	public ArrayList<Exam> getExam() {
		return exams;
	}
}
